package bean;

import java.io.Serializable;
import java.util.ArrayList;

import common.ServerConfig;

/**
 * Created by ilioili on 2015/3/19.
 */
public class Topic implements Serializable {
    private ArrayList<TopicArticleItem> articles;
    private String attention;
    private String banner;
    private String comments_num;
    private String id;
    private String img;
    private ArrayList<TopicNewsItem> news;
    private String snapshot;
    private String summary;
    private String title;
    private String discuss_kw;

    private ArrayList<TabTopicItem> rtopics;

    public ArrayList<TopicArticleItem> getArticles() {
        return articles;
    }

    public void setArticles(ArrayList<TopicArticleItem> articles) {
        this.articles = articles;
    }

    public String getAttention() {
        return attention;
    }

    public void setAttention(String attention) {
        this.attention = attention;
    }

    public String getBanner() {
        return banner;
    }

    public void setBanner(String banner) {
        this.banner = ServerConfig.PIC_HOST + banner;
    }

    public String getComments_num() {
        return comments_num;
    }

    public void setComments_num(String comments_num) {
        this.comments_num = comments_num;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public ArrayList<TopicNewsItem> getNews() {
        return news;
    }

    public void setNews(ArrayList<TopicNewsItem> news) {
        this.news = news;
    }

    public String getSnapshot() {
        return snapshot;
    }

    public void setSnapshot(String snapshot) {
        this.snapshot = snapshot;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public ArrayList<TabTopicItem> getRtopics() {
        return rtopics;
    }

    public void setRtopics(ArrayList<TabTopicItem> rtopics) {
        this.rtopics = rtopics;
    }

    public String getDiscuss_kw() {
        return discuss_kw;
    }

    public void setDiscuss_kw(String discuss_kw) {
        this.discuss_kw = discuss_kw;
    }
}
